Make sure we cast to unsigned long when using printf, and use ftruncate
authorJonathan Dieter <jdieter@gmail.com>
Wed, 6 Jun 2018 10:24:02 +0000 (13:24 +0300)
committerJonathan Dieter <jdieter@gmail.com>
Wed, 6 Jun 2018 10:24:02 +0000 (13:24 +0300)
commit3544c998d7e8f317946eed560a5f3205baea7346
tree142bbefa3e31dd7b2c5973c5da76a9c38003d981
parent85f21322aebb793ee35bdb1ad16d00ac7d92fb49
Make sure we cast to unsigned long when using printf, and use ftruncate
return value

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
src/unzck.c
src/zck.c
src/zck_dl.c
test/empty.c